package com.ruoyi.ncpsy.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 其他事件记录对象 ncpsy_other_event
 * 
 * @author ruoyi
 * @date 2025-09-01
 */
public class NcpsyOtherEvent extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long otherEventId;

    /** 作物事件ID */
    private Long cropEventId;

    /** 事件主题 */
    @Excel(name = "事件主题")
    private String eventSubject;

    /** 事件概述 */
    private String eventOverview;

    /** 事件详情 */
    private String eventDetails;

    /** 事件影响 */
    private String eventImpact;

    /** 事件处理人 */
    @Excel(name = "事件处理人")
    private String eventHandler;

    /** 事件发生日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "事件发生日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date eventOccurrenceDate;

    /** 处理措施 */
    private String processingMeasures;

    /** 关联文件 */
    private String relatedFiles;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 交易哈希 */
    private String hash;

    private long userId;

    @Override
    public String toString() {
        return "NcpsyOtherEvent{" +
                "otherEventId=" + otherEventId +
                ", cropEventId=" + cropEventId +
                ", eventSubject='" + eventSubject + '\'' +
                ", eventOverview='" + eventOverview + '\'' +
                ", eventDetails='" + eventDetails + '\'' +
                ", eventImpact='" + eventImpact + '\'' +
                ", eventHandler='" + eventHandler + '\'' +
                ", eventOccurrenceDate=" + eventOccurrenceDate +
                ", processingMeasures='" + processingMeasures + '\'' +
                ", relatedFiles='" + relatedFiles + '\'' +
                ", status='" + status + '\'' +
                ", hash='" + hash + '\'' +
                ", userId=" + userId +
                '}';
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public void setOtherEventId(Long otherEventId)
    {
        this.otherEventId = otherEventId;
    }

    public Long getOtherEventId() 
    {
        return otherEventId;
    }

    public void setCropEventId(Long cropEventId) 
    {
        this.cropEventId = cropEventId;
    }

    public Long getCropEventId() 
    {
        return cropEventId;
    }

    public void setEventSubject(String eventSubject) 
    {
        this.eventSubject = eventSubject;
    }

    public String getEventSubject() 
    {
        return eventSubject;
    }

    public void setEventOverview(String eventOverview) 
    {
        this.eventOverview = eventOverview;
    }

    public String getEventOverview() 
    {
        return eventOverview;
    }

    public void setEventDetails(String eventDetails) 
    {
        this.eventDetails = eventDetails;
    }

    public String getEventDetails() 
    {
        return eventDetails;
    }

    public void setEventImpact(String eventImpact) 
    {
        this.eventImpact = eventImpact;
    }

    public String getEventImpact() 
    {
        return eventImpact;
    }

    public void setEventHandler(String eventHandler) 
    {
        this.eventHandler = eventHandler;
    }

    public String getEventHandler() 
    {
        return eventHandler;
    }

    public void setEventOccurrenceDate(Date eventOccurrenceDate) 
    {
        this.eventOccurrenceDate = eventOccurrenceDate;
    }

    public Date getEventOccurrenceDate() 
    {
        return eventOccurrenceDate;
    }

    public void setProcessingMeasures(String processingMeasures) 
    {
        this.processingMeasures = processingMeasures;
    }

    public String getProcessingMeasures() 
    {
        return processingMeasures;
    }

    public void setRelatedFiles(String relatedFiles) 
    {
        this.relatedFiles = relatedFiles;
    }

    public String getRelatedFiles() 
    {
        return relatedFiles;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setHash(String hash) 
    {
        this.hash = hash;
    }

    public String getHash() 
    {
        return hash;
    }

}
